package com.vr.xuecheng.feign.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author hzh
 * @date 2025/03/22
 * 课程索引
 */
@Data
public class CourseIndex implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private String charge;
    private Long companyId;
    private String companyName;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;
    private String description;
    private String grade;
    private String mt;
    private String mtName;
    private String name;
    private BigDecimal originalPrice;
    private String pic;
    private BigDecimal price;
    private String remark;
    private String st;
    private String stName;
    private String status;
    private String tags;
    private String teachmode;
    private String users;
    private Integer validDays;
}
